package com.baizhi.service.impl;

import com.baizhi.dao.AudioDao;
import com.baizhi.entity.Audio;
import com.baizhi.service.AudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AudioServiceImpl implements AudioService {
    @Autowired
    private AudioDao audioDao;

    @Override
    public List<Audio> selectAudioByAlbumId(Integer id) {
        return audioDao.selectAudioByAlbumId(id);
    }
}
